import http from "../http";

export default {
    upLogin: {
        name: "账号密码登录",
        url: "/auth/login",
        call: async function (params = {}) {
            return await http.post(this.url, params);
        }
    },
    QQMailSendCode: {
        name: "QQ邮箱发送验证码",
        url: "/auth/loginByQQMail",
        call: async function (params = {}) {
            return await http.post(this.url, params);
        }
    },
    QQMailLogin: {
        name: "QQ邮箱登录",
        url: "/auth/loginByQQMailCode",
        call: async function (params = {}) {
            return await http.post(this.url, params);
        }
    },
    getUserInfo:{
        name: "获取用户信息",
        url: "/ljk/sysUser/feign/getInfo",
        call: async function (params = {}) {
            return await http.post(this.url, params);
        }
    }
}